import http from "@/utils/http";
import type { DictData } from "@/apis";

/**
 * 字典列表
 */
export const dictByType = (dictType: string) => {
  return http.get<DictData[]>(`/dbo/system/dict/data/type/${dictType}`);
};
